package IteratorAndComposite.entry;

/**
 * @Author: pengzx
 * @Description:
 * @Date: 10:40 2017/9/19
 * @Modified by: 1.0
 */
public class MenuItem {
    private String name;
    private String destription;
    private boolean vegetarian;
    private double price;

    public MenuItem(String name, String destription, boolean vegetarian, double price)
    {
        this.name = name;
        this.destription = destription;
        this.vegetarian = vegetarian;
        this.price = price;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getDestription()
    {
        return destription;
    }

    public void setDestription(String destription)
    {
        this.destription = destription;
    }

    public boolean isVegetarian()
    {
        return vegetarian;
    }

    public void setVegetarian(boolean vegetarian)
    {
        this.vegetarian = vegetarian;
    }

    public double getPrice()
    {
        return price;
    }

    public void setPrice(double price)
    {
        this.price = price;
    }
}
